import type { Placement, Options } from "@popperjs/core";

export interface TooltipProps {
    content?: string;
    trigger?: 'hover' | 'click';
    placement?: Placement;
    // 是否开启手动触发 Tooltip
    manual?: boolean;
    optionsPlacement?: Partial<Options>;
    transition?: string;
    openDelay?: number;
    closeDelay?: number;
}

export interface TooltipManual {
    show: () => void,
    hide: () => void
}

export interface VisibleChange {
    visibleChange: [value: boolean]
    clickOutside: [value: boolean]
}

